from tkinter import *
 
root = Tk()
root.title("METANIT.COM")
root.geometry("300x250")
 
canvas = Canvas(bg="white", width=250, height=200)
canvas.pack(anchor=CENTER, expand=1)
 
canvas.create_rectangle(10, 20, 40, 50, fill="#80CBC4", outline="#004D40")
canvas.create_rectangle(10, 50, 40, 80, fill="#80CBC4", outline="#004D40")
canvas.create_rectangle(100, 20, 70, 50, fill="#80CBC4", outline="#004D40")
canvas.create_rectangle(100, 50, 70, 80, fill="#80CBC4", outline="#004D40")
canvas.create_rectangle(70, 50, 40, 80, fill="#80CBC4", outline="#004D40")
root.mainloop()
